package com.sa.web.dao.service;

import java.util.List;

import com.sa.web.bean.NewsBean;

public interface NewsDao {

	public boolean addNews(NewsBean newsBean);

	public List<NewsBean> queryNewsIndex();

	public Integer queryNewsCount();

	public List<NewsBean> queryNews(int currentPage, int pageCounts);

	public NewsBean queryNewsById(String newsId);

	public boolean deleteNewsInfo(String id);

	public Integer getNewsCount();

	public List<NewsBean> getNewsInfo(int start, int size);

}
